package com.housediyadmin.events.colorEvent
{   	
	import flash.events.Event;
	
	import mx.collections.ArrayCollection;
	
	
	/**
	 * 
	 * @author yanghanbing
	 * 2011/3/07
	 */ 
	public class AddColorsEvent extends Event
	{
		public static const ADD_COLORS:String = "addColors";
		public static const UPDATE_COLOR_MODEL:String = "updateColorModel";
		
		public var colorArray:ArrayCollection;
		/**
		 * 添加多个颜色，并返回这些颜色（包括ID）
		 * @param type
		 * @param colorArray
		 * 
		 */		
		public function AddColorsEvent(type:String, colorArray:ArrayCollection)
		{
			super(type);
			this.colorArray = colorArray;
		}
		
		override public function clone():Event
		{
			return new AddColorsEvent(type, colorArray);
		}
	}
}